import http from "@/utils/request";
// get拼接
// 添加角色(仅root有权限)
export let addroleApi=(roleid,token)=>http.post("/permission/addrole",{
    roleid,
    token
})
// 获取角色列表
export let getroleApi =(roleid,token)=>http.get("/permission/getrole?roleid="+roleid+'&token='+token)
// 获取权限菜单 /请求菜单
export let getMenuListApi=()=>http.get("/permission/getMenuList")